package cn.broadsense.biz.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 点位治理配置
 *
 * @author: pengxin
 * @create: 2024-04-11 18:02
 * @Version 1.0
 **/
@Data
@ApiModel("点位治理配置")
public class ChannelGovernanceVo implements Serializable {

    private static final long serialVersionUID = 8820627368533285873L;

    @ApiModelProperty("点位列表")
    private List<Long> channelIds;

    @ApiModelProperty("空值筛选条件 and 或者 or")
    //@NotBlank(message = "空值筛选条件不能为空")
    private String emptyCriteria;

    @ApiModelProperty("空值筛选条件字段")
    //@NotNull(message = "空值筛选条件字段不能为空",groups = {ValidationGroup.Insert.class})
    private List<String> emptyList;

    @ApiModelProperty("重复值筛选值")
    private String repeatCriteria;
    @ApiModelProperty("规则条件 and 或者 or")
    private String ruleCriteria;

    @ApiModelProperty("规则条件")
    private List<ChannelGovernanceRuleCriteriaVo> ruleList;
}
